package com.citrix.gs.util.beacon

import java.lang.invoke.DirectMethodHandle.StaticAccessor

import com.jcraft.jzlib.Inflate.Return;
import com.offbytwo.jenkins.model.MainView;;

class JobConfig {
	
	static String testClientPrefix = 'Beacon-Test'
    static String prodClientPrefix = 'Beacon'
	static Map<String, String> productNodeMap = [
		"XenDesktop"        :       "SlaveGroup0",
		
	    "XenMobile"         :       "SlaveGroup1",
	    
	    "RfWin"             :       "SlaveGroup2",
	    "RfAndroid"         :       "SlaveGroup2",
	    "RfMac"             :       "SlaveGroup2",
	    "RfiOS"             :       "SlaveGroup2",
		"Receiver_X1"		:		"SlaveGroup2",
	    "AppDNA"			:		"SlaveGroup2",
		"RfWeb(Classic)"	:		"SlaveGroup2",
		
	    "NetScaler_Gateway" :       "SlaveGroup2",
	    "CloudPortal_Services_Manager": "SlaveGroup2",
		
	    "ShareFile"         :       "SlaveGroup3"
	]
    
    static String getAssignedNode(String product) {   
        return  productNodeMap[product];
    }
    
    static main(args) {
      println(getAssignedNode('dfd'))
      println(getAssignedNode('RfWin'))  
    }

}
